home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 49
/
Aminet 49 (2002)(GTI - Schatztruhe)[!][Jun 2002].iso
/
Aminet
/
dev
/
gui
/
Feelin.lha
/
Feelin
/
Page.e
< prev
next >
Wrap
Text File
|
2002-03-14
|
2KB
|
70 lines
OPT PREPROCESS
MODULE 'feelin','libraries/feelin'
PROC main()
DEF c,w, p,s
IF feelinbase := OpenLibrary('feelin.library',FV_VERSION)
c := ClientObject,
Child, w := WindowObject, FA_Window_Title,'Feelin : Pages',
Child, VGroup, NoFrame,
Child, p := Page, InputImmediate, FA_Group_PageTitles,['Feelin','ColorMap','RGB',NIL], FA_MinWidth, 100,
FA_Back,'2:Image:Icônes/ShadeCollection2/Patterns/Patterns/Purple Stones',
Child, VGroup, FA_ID,'Grp1', NoFrame,
Child, SimpleButton('Lotan'),
Child, SimpleButton('Lotan'),
Child, SimpleButton('Lotan'),
End,
Child, VGroup, FA_ID,'Grp2', NoFrame,
Child, Page, FA_Group_PageTitles,['Feelin','ColorMap','RGB',NIL], FA_Back,FI_HalfShine_Fill,
Child, VGroup, FA_ID,'Grp1', NoFrame,
Child, SimpleButton('Lotan'),
Child, SimpleButton('Lotan'),
Child, SimpleButton('Lotan'),
End,
Child, VGroup, FA_ID,'Grp2', NoFrame,
Child, SimpleButton('is my'),
Child, SimpleButton('is my'),
Child, SimpleButton('is my'),
End,
End,
Child, SimpleButton('is my'),
Child, SimpleButton('is my'),
End,
Child, VGroup, FA_ID,'Grp3', NoFrame,
Child, SimpleButton('Lord'),
Child, SimpleButton('Lord'),
Child, SimpleButton('Lord'),
End,
End,
Child, s := SliderObject, FA_Horizontal,TRUE, FA_FixedHeight,TRUE, SliderFrame,SliderBack,FA_Numeric_Format,'Page: \d',FA_Numeric_Max,2, End,
End,
End,
End
IF c
F_DoA(s,FM_Notify,[FA_Numeric_Value,FV_Notify_Always,p,3,
FM_Set,
FA_Group_ActivePage,FV_Notify_Value])
F_DoA(w,FM_Notify,[FA_Window_CloseRequest,TRUE,FV_Notify_Client,2,FM_Client_ReturnID,FV_Client_Quit])
F_Set(w,FA_Window_Open,TRUE)
WHILE F_DoA(c,FM_Client_WaitEvent,NIL) <> FV_Client_Quit DO NOP
F_DisposeObj(c)
ENDIF
CloseLibrary(feelinbase)
ELSE
WriteF('Unable to open feelin.library\n')
ENDIF
ENDPROC